home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 2865 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  772 b 

  1. Path: acs1.acs.ucalgary.ca!cmjohann
  2. From: cmjohann@acs1.acs.ucalgary.ca (Corby Michael Johanneson)
  3. Newsgroups: comp.lang.c++
  4. Subject: C++ Code delays - help!
  5. Date: 19 Jan 1996 22:08:34 GMT
  6. Organization: The University of Calgary
  7. Message-ID: <4dp4p2$10ac@ds2.acs.ucalgary.ca>
  8. NNTP-Posting-Host: cmjohann@acs1.acs.ucalgary.ca
  9. X-Newsreader: TIN [version 1.2 PL2]
  10.  
  11.     I've been wondering how I might be able to insert
  12. execution delays into my C++ code that are less than 1 second.
  13. Borland's sleep() function doesn't take real numbers, only
  14. unsigned integers, and I'm not to keen on using for loops with
  15. giant values while processing useless operations (like y++ then
  16. y--).  So, can anyone tell me how I might achieve this?
  17.  
  18.                     Corby Johanneson
  19.                     cmjohann@acs.ucalgary.ca
  20.  
  21.  
  22.